package com.yimi.yinhepda.entity.response;

import com.yimi.yinhepda.entity.problem.ProblemBean;

import java.util.List;

/**
 * @author: lj
 * Date: 2019/3/11
 * Description: 查询问题件响应类
 */
public class QueryProblemInfoResponse {

    /**
     * symbol : RESULT_SYMBOL
     * data : {"page":{"pageSize":100,"totalRecord":1,"currentPage":1,"totalPage":1,"records":[],"moreAttrs":{},"recordStart":1,"recordEnd":100,"recordIndex":0}}
     * success : true
     */

    private String symbol;
    private DataBean data;
    private boolean success;

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class DataBean {
        /**
         * page : {"pageSize":100,"totalRecord":1,"currentPage":1,"totalPage":1,"records":[],"moreAttrs":{},"recordStart":1,"recordEnd":100,"recordIndex":0}
         */

        private PageBean page;

        public PageBean getPage() {
            return page;
        }

        public void setPage(PageBean page) {
            this.page = page;
        }

        public static class PageBean {
            /**
             * pageSize : 100
             * totalRecord : 1
             * currentPage : 1
             * totalPage : 1
             * records : []
             * moreAttrs : {}
             * recordStart : 1
             * recordEnd : 100
             * recordIndex : 0
             */

            private int pageSize;
            private int totalRecord;
            private int currentPage;
            private int totalPage;
            private MoreAttrsBean moreAttrs;
            private int recordStart;
            private int recordEnd;
            private int recordIndex;
            private List<ProblemBean> records;

            public int getPageSize() {
                return pageSize;
            }

            public void setPageSize(int pageSize) {
                this.pageSize = pageSize;
            }

            public int getTotalRecord() {
                return totalRecord;
            }

            public void setTotalRecord(int totalRecord) {
                this.totalRecord = totalRecord;
            }

            public int getCurrentPage() {
                return currentPage;
            }

            public void setCurrentPage(int currentPage) {
                this.currentPage = currentPage;
            }

            public int getTotalPage() {
                return totalPage;
            }

            public void setTotalPage(int totalPage) {
                this.totalPage = totalPage;
            }

            public MoreAttrsBean getMoreAttrs() {
                return moreAttrs;
            }

            public void setMoreAttrs(MoreAttrsBean moreAttrs) {
                this.moreAttrs = moreAttrs;
            }

            public int getRecordStart() {
                return recordStart;
            }

            public void setRecordStart(int recordStart) {
                this.recordStart = recordStart;
            }

            public int getRecordEnd() {
                return recordEnd;
            }

            public void setRecordEnd(int recordEnd) {
                this.recordEnd = recordEnd;
            }

            public int getRecordIndex() {
                return recordIndex;
            }

            public void setRecordIndex(int recordIndex) {
                this.recordIndex = recordIndex;
            }

            public List<ProblemBean> getRecords() {
                return records;
            }

            public void setRecords(List<ProblemBean> records) {
                this.records = records;
            }

            public static class MoreAttrsBean {
            }
        }
    }
}
